package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.ExpendItem;
import cn.wolfcode.crm.query.ExpendItemQuery;
import cn.wolfcode.crm.util.PageResult;

import java.math.BigDecimal;
import java.util.List;

public interface IExpendItemService {
    int insert(ExpendItem record);

    int delete(Long id);

    ExpendItem selectByPrimaryKey(Long id);

    List<ExpendItem> selectAll();

    int updateByPrimaryKey(ExpendItem record);

    PageResult query(ExpendItemQuery qo);

    BigDecimal selectTotalAmount();
}
